//
//  GPAuthorizationManager.h
//  PFAmapDemo
//
//  Created by 原鹏飞 on 2018/10/31.
//  Copyright © 2018 ypf. All rights reserved.
//

#import <Foundation/Foundation.h>

#import <CoreTelephony/CTCellularData.h>    // 系统类：检查网络授权
#import <CoreLocation/CoreLocation.h>       // 系统类：检查定位授权

NS_ASSUME_NONNULL_BEGIN

@interface GPAuthorizationManager : NSObject

+ (instancetype)sharedManager;

- (void)requestAuthorization;

- (CTCellularDataRestrictedState)gp_checkNetworkAuthorization;

- (void)gp_checkNetworkState;

- (void)gp_checkLocationAuthorization;

@end

NS_ASSUME_NONNULL_END
